find points on graph where function is not differentiable